package org.jeecg.modules.zcgl.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 固定资产维修报废
 * @Author: jeecg-boot
 * @Date:   2021-07-02
 * @Version: V1.0
 */
@Data
@TableName("zcgl_asset_fixed_maintenance")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="zcgl_asset_fixed_maintenance对象", description="固定资产维修报废")
public class AssetFixedMaintenance {
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private String id;
	/**固定资产*/
	@Excel(name = "固定资产", width = 15,dictTable = "zcgl_asset_fixed",dicCode = "id",dicText ="CONCAT_WS( ' ', `specifications`, unit )")
	@ApiModelProperty(value = "固定资产")
	@Dict(dictTable = "zcgl_asset_fixed",dicCode = "id",dicText ="CONCAT_WS( ' ', `specifications`, unit )")
	private String assetFixedId;
	/**类型 3-维修 4-报废*/
	@Excel(name = "类型", width = 15,dicCode = "asset_fixed_maintenance_type")
    @ApiModelProperty(value = "类型")
	@Dict(dicCode = "asset_fixed_maintenance_type")
	private String type;
	/**原因*/
	@Excel(name = "原因", width = 15)
    @ApiModelProperty(value = "原因")
	private String reason;
	/**申请状态*/
	@Excel(name = "状态", width = 15,dicCode = "asset_fixed_opration_status")
	@ApiModelProperty(value = "状态")
	@Dict(dicCode = "asset_fixed_opration_status")
	private String status;
	/**申请时间*/
	@Excel(name = "申请时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "申请时间")
	private Date recordTime;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
	private String remark;
	/**createBy*/
	@Excel(name = "createBy", width = 15)
    @ApiModelProperty(value = "createBy")
	private String createBy;
	/**createTime*/
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
	private Date createTime;
	/**updateBy*/
	@Excel(name = "updateBy", width = 15)
    @ApiModelProperty(value = "updateBy")
	private String updateBy;
	/**updateTime*/
	@Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateTime")
	private Date updateTime;
}
